package com.wf.mall.entity;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * =商品类
 * @author: wf
 **/
@Setter
@Getter
@NoArgsConstructor
public class Commodity {
    private String id;
    private String name;
    private int num;
    private String createTime;
    private String updateTime;

    /**
     * 构造器
     *
     * @since: 2021/8/15
     */
    public Commodity(String id, String name, int num) {
        this.id = id;
        this.name = name;
        this.num = num;
    }
}
